﻿@using FotoLab.Models;
@using FotoLab.Controllers;
@using FotoLab.DomainLayer.Model

@{
    ViewBag.Title = "Winkelwagen";
}

<table class="table table-striped">
    <tr>
        <th>ID</th>
        <th>Naam</th>
        <th>Prijs</th>
        <th>Aantal</th>
        <th>Subtotaal</th>
    </tr>
    @foreach (Orderregel regel in (List<Orderregel>)Session["winkelwagen"])
    {
        <tr>
            <td>@regel.Product.Id</td>
            <td>@regel.Foto.Gezichten</td>
            @*<td>@winkelwagenRegel.product.</td>
            <td>@winkelwagenRegel.product.prijs</td>
            <td>@winkelwagenRegel.product.aantal</td>
            <td>@(winkelwagenRegel.product.aantal * winkelwagenRegel.product.prijs)</td>*@
        </tr>
    }
</table>